#!/usr/bin/env bash


new_script_name="$1"

author() {
  echo "
# shellcheck disable=2034
coded_by='

In the name of Allah, the most Gracious, the most Merciful.

 ▓▓▓▓▓▓▓▓▓▓
░▓ Author ▓ Abdullah Khabir <https://abdullah.today>
░▓▓▓▓▓▓▓▓▓▓ YouTube <https://YouTube.com/AbdullahToday>
░░░░░░░░░░  Website <https://abdullah.solutions>

'
"
}

author_with_script_name() {
  echo "
# shellcheck disable=2034
coded_by='

In the name of Allah, the most Gracious, the most Merciful.

 ▓▓▓▓▓▓▓▓▓▓
░▓ Author ▓ Abdullah <https://abdullah.today>
░▓▓▓▓▓▓▓▓▓▓ YouTube <https://YouTube.com/AbdullahToday>
░░░░░░░░░░  Website <https://abdullah.solutions>

$(toilet -f pagga ${new_script_name})
'
"
}

if [[ -z $new_script_name ]]; then
  author
else
  author_with_script_name
fi
